

define(function(require,exports,module){

	function Main(jqObj,loadParams){

	var columns = [[
		{field:'roleId',title:'主键ID',hidden:true},
		{field:'roleName',title:'角色名称',editor:{}},
		{field:'remark',title:'备注',editor:{}}
	]];
	var formDialog = {
		title:'',
		height:150,
		formEx:{
			url:'sys/firerole/save.do'
		}
	}

	var MainUI = {
		eName:'datagrid',
		idField:'roleId',
		url:'sys/firerole/json.do',
		delUrl:'sys/firerole/del.do',
		columns:columns,
		formDialog:formDialog
	}

	jqObj.createUI(MainUI);

}
	module.exports = Main;

});
